package com.ruoyi.door.service;

import java.util.List;
import com.ruoyi.door.domain.HouseDoorT;

/**
 * 户管理Service接口
 * 
 * @author lijie
 * @date 2023-04-20
 */
public interface IHouseDoorTService 
{
    /**
     * 查询户管理
     * 
     * @param doorId 户管理主键
     * @return 户管理
     */
    public HouseDoorT selectHouseDoorTByDoorId(Long doorId);
    public HouseDoorT selectHouseDoorAddrByDoorId(Long doorId);
    public HouseDoorT getDoorT(HouseDoorT houseDoorT);

    /**
     * 查询户管理列表
     * 
     * @param houseDoorT 户管理
     * @return 户管理集合
     */
    public List<HouseDoorT> selectHouseDoorTList(HouseDoorT houseDoorT);
    public List<HouseDoorT> selectHouseDoorTList1(HouseDoorT houseDoorT);
 public List<HouseDoorT> selectHouseDoorReturnList(HouseDoorT houseDoorT);
    public HouseDoorT selectHouseDoorSum(HouseDoorT houseDoorT);
    public HouseDoorT selectDoor(HouseDoorT houseDoorT);

    /**
     * 查询计息列表
     *
     * @param houseDoorT 户管理
     * @return 户管理集合
     */
    public List<HouseDoorT> selectHouseRateTList(HouseDoorT houseDoorT);
    public HouseDoorT selectHouseRateTListSum(HouseDoorT houseDoorT);

    /**
     * 新增户管理
     * 
     * @param houseDoorT 户管理
     * @return 结果
     */
    public int insertHouseDoorT(HouseDoorT houseDoorT);

    /**
     * 修改户管理
     * 
     * @param houseDoorT 户管理
     * @return 结果
     */
    public int updateHouseDoorT(HouseDoorT houseDoorT);

    /**
     * 批量删除户管理
     * 
     * @param doorIds 需要删除的户管理主键集合
     * @return 结果
     */
    public int deleteHouseDoorTByDoorIds(Long[] doorIds);

    /**
     * 删除户管理信息
     * 
     * @param doorId 户管理主键
     * @return 结果
     */
    public int deleteHouseDoorTByDoorId(Long doorId);

    /**
     * 获取当前户id
     *
     * @return 结果
     */
    public int getDoorId();

    public HouseDoorT getBalanceMoneyAll(HouseDoorT houseDoorT);
    public HouseDoorT getDoorNumber(HouseDoorT houseDoorT);
    public HouseDoorT getDoorNumber1(HouseDoorT houseDoorT);

    public HouseDoorT getBudgetInfo();
    public HouseDoorT getCostInfo();
    public HouseDoorT getUnpaidInfo();
    public HouseDoorT getRepairInfo();

    /**
     * 导入用户数据
     *
     * @param userList 用户数据列表
     * @param isUpdateSupport 是否更新支持，如果已存在，则进行更新数据
     * @param operName 操作用户
     * @return 结果
     */
    public String importUser(List<HouseDoorT> userList, Boolean isUpdateSupport, String operName,String areaName) throws Exception;

    public String importUser(List<HouseDoorT> userList, Boolean isUpdateSupport, String operName) throws Exception;


}
